<%--
  Created by IntelliJ IDEA.
  User: zhaoyingjie
  Date: 2021/10/13
  Time: 20:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<ul>
    <li>
        <a href="#">
            <%--        <a href="javascript:)">--%>
            <div id="layerDemo" style="margin-bottom: 0;">
                <div class="layui-btn-container">
                    <c:if test="${!isCol}">
                        <button data-method="confirmTrans" class="layui-btn c"
                                onclick="add_collection(${recruitment.id})">收藏
                        </button>
                    </c:if>
                    <c:if test="${isCol}">
<%--                        //style="background-color: rgb(5, 230, 219); color:white"--%>
                        <button data-method="confirmTrans" class="layui-btn c"
                                onclick="delinfo(${recruitment.id})">已收藏
                        </button>
                    </c:if>
                </div>
            </div>
        </a>
    </li>
    <li><a href="#">
        <div id="layerDemo1" style="margin-bottom: 0;">
            <div class="layui-btn-container">
                <c:if test="${isDelivery}">
                    <button data-method="f1" class="layui-btn c" onclick="ff()" id="application">申请职位</button>
                </c:if>
                <c:if test="${!isDelivery}">
                    <button data-method="f1" class="layui-btn c" disabled id="application" >已申请</button>
                </c:if>
            </div>
        </div>
    </a></li>
    <li><a href="#">
        <div id="layerDemo2" style="margin-bottom: 0;">
            <div class="layui-btn-container">
                <c:if test="${!isBlack}">
                    <button data-method="confirmTrans" class="layui-btn c" onclick="detel_blacklist(${company.id})">屏蔽
                    </button>
                </c:if>
                <c:if test="${isBlack}">
                    <button data-method="confirmTrans" class="layui-btn c" onclick="backblack(${company.id})">已屏蔽
                    </button>
                </c:if>
            </div>
        </div>
    </a></li>
</ul>